/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package parser;

import java.awt.Color;

/**
 *
 * @author nate
 */
public class XofYPhrase implements Phrase, PhraseDecorator
{
    private final String xofyPhrase;
    
    XofYPhrase(String phr)
    {
        xofyPhrase = phr;
    }
    
    public void Print()
    {
        System.out.println(xofyPhrase +":  I am an X of Y phrase");
    }

    public Color getColor()
    {
        return Color.PINK;
    }

    public String getValue()
    {
        return xofyPhrase;
    }
    
    public String getAssociations()
    {
        return null;
    }

    public String getType()
    {
        return "xofy";
    }
    
}
